package com.fornknow.service;

import com.fornknow.dao.UserDAO;
import com.fornknow.dao.UserDAOImpl.UserDAOImpl;
import com.fornknow.model.User;

public class UserService {
    private UserDAO userDAO ;

    public void setUserDAO(UserDAO userDAO) {
        this.userDAO = userDAO;
    }

    public void add(User user){
        userDAO.save(user);
    }
}
